package com.dfec.water.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 设备类别维护对象 ydb_device_type_dict
 *
 * @author df
 * @date Thu Feb 06 11:10:12 CST 2025
 */
@Data
@TableName("ydb_device_type_dict")
public class YdbDeviceTypeDictEntity   {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ExcelProperty("主键")
    private Long id;


    /**
     * 父id
     */
    @Schema(description = "父id")
    @ExcelProperty("父id")
    private Long pid;


    /**
     * 名称
     */
    @Schema(description = "名称")
    @ExcelProperty("名称")
    private String name;


    /**
     * 编码
     */
    @Schema(description = "编码")
    @ExcelProperty("编码")
    private String code;


    /**
     * 图标地址
     */
    @Schema(description = "图标地址")
    @ExcelProperty("图标地址")
    private String logo;

    /**
     * 阈值
     */
    private Integer threshold;




}
